<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class HouseList extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'house_list';
    protected $guarded=[];

    public function houseMolding(){
        return self::belongsTo(HouseMoldingModel::class,'house_moldings','id');
    }

    public function houseBroker(){
        return self::belongsTo(HouseBroker::class,'house_brokers','id');
    }

}
